package com.service;

import com.entry.Voucher;
import com.pojo.VouInsEnt;
import com.pojo.VouInsEntUser;
import com.util.PageHelper;

import java.util.ArrayList;

public interface VoucherService {

    //模糊查询---我的凭证表
    ArrayList selectQuery(Voucher voucher);
    //查询我的凭证表符合条件的总个数
    int selectQuerySize(VouInsEnt vouInsEnt, int Max, int Min);
    //查询凭证基本信息
    ArrayList selectQuery();
    //添加凭证记录
    int insertVoucher(Voucher voucher);

    ArrayList selectQueryByNo(String no);

    ArrayList selectQuery(VouInsEnt vouInsEnt, PageHelper pageHelper, double Max, double Min);

    ArrayList selectQuery(VouInsEntUser vouInsEntUser);

    ArrayList<Voucher> selectAllByNo(String no);

    int updateVou(Voucher voucher);





}
